package com.sds.webconsole.listeners;

import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.servlet.GuiceServletContextListener;
import com.sds.webconsole.module.WebConsoleAppEngineModule;
import org.apache.log4j.Logger;

public class WebConsoleAppEngineGuiceListener extends GuiceServletContextListener {
    private static Injector INJECTOR = Guice.createInjector(new WebConsoleAppEngineModule());
    private final Logger LOGGER = Logger.getLogger(getClass().getName());

    @Override
    protected Injector getInjector() {
        return INJECTOR;
    }
}
